package hl7;

import com.orion.symphonia3.MessageElement;
import com.orion.symphonia3.MessageComponent;

public class EDC_HL7SegOBR extends MessageComponent{
	
	//Declarations
	public EDC_HL7FldI4 SetID;
	public EDC_HL7FldEI PlacerOrderNumber;
	public EDC_HL7FldEI FillerOrderNumber;
	public EDC_HL7FldCE UniversalServiceID;
	public EDC_HL7FldST Priority;
	public EDC_HL7FldTS RequestedDateTime;
	public EDC_HL7FldTS ObservationDateTime;
	public EDC_HL7FldTS ObservationEndDateTime;
	public EDC_HL7FldCQ CollectionVolume;
	public EDC_HL7RepFldXCN CollectorIdentifier;
	public EDC_HL7FldST SpecimenActionCode;
	public EDC_HL7FldCE DangerCode;
	public EDC_HL7FldST RelevantClinicalInfo;
	public EDC_HL7FldTS SpecimenReceivedDateTime;
	public EDC_HL7FldCM_SS SpecimenSource;
	public EDC_HL7RepFldXCN OrderingProvider;
	public EDC_HL7RepFldXTN OrderCallbackPhoneNumber;
	public EDC_HL7FldST PlacerField1;
	public EDC_HL7FldST PlacerField2;
	public EDC_HL7FldST FillerField1;
	public EDC_HL7FldST FillerField2;
	public EDC_HL7FldTS ResultsRptStatusChngDateTime;
	public EDC_HL7FldCM_CH ChargeToPractice;
	public EDC_HL7FldST DiagnosticServSectID;
	public EDC_HL7FldST ResultStatus;
	public EDC_HL7FldCM_PR ParentResult;
	public EDC_HL7RepFldTQ QuantityTiming;
	public EDC_HL7RepFldXCN ResultCopiesTo;
	public EDC_HL7FldCM_PA ParentNumber;
	public EDC_HL7FldST TransportationMode;
	public EDC_HL7RepFldCE ReasonForStudy;
	public EDC_HL7FldCM_RI PrincipalResultInterpreter;
	public EDC_HL7RepFldCM_RI AssistantResultInterpreter;
	public EDC_HL7RepFldCM_RI Technician;
	public EDC_HL7RepFldCM_RI Transcriptionist;
	public EDC_HL7FldTS ScheduledDateTime;
	public EDC_HL7FldR8 NumberOfSampleContainers;
	public EDC_HL7RepFldCE TransportLogisticsOfCollectedSample;
	public EDC_HL7RepFldCE CollectorsComment;
	public EDC_HL7FldCE TransportArrangementResponsibility;
	public EDC_HL7FldST TransportArranged;
	public EDC_HL7FldST EscortRequired;
	public EDC_HL7RepFldCE PlannedPatientTransportComment;
	public EDC_HL7FldCE ProcedureCode;
	public EDC_HL7RepFldCE ProcedureCodeModifier;
	
	//Constructor
	public EDC_HL7SegOBR(MessageElement elem) {
		super(elem);
		SetID = new EDC_HL7FldI4(elem.getElementAt("SetID"));
		PlacerOrderNumber = new EDC_HL7FldEI(elem.getElementAt("PlacerOrderNumber"));
		FillerOrderNumber = new EDC_HL7FldEI(elem.getElementAt("FillerOrderNumber"));
		UniversalServiceID = new EDC_HL7FldCE(elem.getElementAt("UniversalServiceID"));
		Priority = new EDC_HL7FldST(elem.getElementAt("Priority"));
		RequestedDateTime = new EDC_HL7FldTS(elem.getElementAt("RequestedDateTime"));
		ObservationDateTime = new EDC_HL7FldTS(elem.getElementAt("ObservationDateTime"));
		ObservationEndDateTime = new EDC_HL7FldTS(elem.getElementAt("ObservationEndDateTime"));
		CollectionVolume = new EDC_HL7FldCQ(elem.getElementAt("CollectionVolume"));
		CollectorIdentifier = new EDC_HL7RepFldXCN(elem.getElementAt("CollectorIdentifier"));
		SpecimenActionCode = new EDC_HL7FldST(elem.getElementAt("SpecimenActionCode"));
		DangerCode = new EDC_HL7FldCE(elem.getElementAt("DangerCode"));
		RelevantClinicalInfo = new EDC_HL7FldST(elem.getElementAt("RelevantClinicalInfo"));
		SpecimenReceivedDateTime = new EDC_HL7FldTS(elem.getElementAt("SpecimenReceivedDateTime"));
		SpecimenSource = new EDC_HL7FldCM_SS(elem.getElementAt("SpecimenSource"));
		OrderingProvider = new EDC_HL7RepFldXCN(elem.getElementAt("OrderingProvider"));
		OrderCallbackPhoneNumber = new EDC_HL7RepFldXTN(elem.getElementAt("OrderCallbackPhoneNumber"));
		PlacerField1 = new EDC_HL7FldST(elem.getElementAt("PlacerField1"));
		PlacerField2 = new EDC_HL7FldST(elem.getElementAt("PlacerField2"));
		FillerField1 = new EDC_HL7FldST(elem.getElementAt("FillerField1"));
		FillerField2 = new EDC_HL7FldST(elem.getElementAt("FillerField2"));
		ResultsRptStatusChngDateTime = new EDC_HL7FldTS(elem.getElementAt("ResultsRptStatusChngDateTime"));
		ChargeToPractice = new EDC_HL7FldCM_CH(elem.getElementAt("ChargeToPractice"));
		DiagnosticServSectID = new EDC_HL7FldST(elem.getElementAt("DiagnosticServSectID"));
		ResultStatus = new EDC_HL7FldST(elem.getElementAt("ResultStatus"));
		ParentResult = new EDC_HL7FldCM_PR(elem.getElementAt("ParentResult"));
		QuantityTiming = new EDC_HL7RepFldTQ(elem.getElementAt("QuantityTiming"));
		ResultCopiesTo = new EDC_HL7RepFldXCN(elem.getElementAt("ResultCopiesTo"));
		ParentNumber = new EDC_HL7FldCM_PA(elem.getElementAt("ParentNumber"));
		TransportationMode = new EDC_HL7FldST(elem.getElementAt("TransportationMode"));
		ReasonForStudy = new EDC_HL7RepFldCE(elem.getElementAt("ReasonForStudy"));
		PrincipalResultInterpreter = new EDC_HL7FldCM_RI(elem.getElementAt("PrincipalResultInterpreter"));
		AssistantResultInterpreter = new EDC_HL7RepFldCM_RI(elem.getElementAt("AssistantResultInterpreter"));
		Technician = new EDC_HL7RepFldCM_RI(elem.getElementAt("Technician"));
		Transcriptionist = new EDC_HL7RepFldCM_RI(elem.getElementAt("Transcriptionist"));
		ScheduledDateTime = new EDC_HL7FldTS(elem.getElementAt("ScheduledDateTime"));
		NumberOfSampleContainers = new EDC_HL7FldR8(elem.getElementAt("NumberOfSampleContainers"));
		TransportLogisticsOfCollectedSample = new EDC_HL7RepFldCE(elem.getElementAt("TransportLogisticsOfCollectedSample"));
		CollectorsComment = new EDC_HL7RepFldCE(elem.getElementAt("CollectorsComment"));
		TransportArrangementResponsibility = new EDC_HL7FldCE(elem.getElementAt("TransportArrangementResponsibility"));
		TransportArranged = new EDC_HL7FldST(elem.getElementAt("TransportArranged"));
		EscortRequired = new EDC_HL7FldST(elem.getElementAt("EscortRequired"));
		PlannedPatientTransportComment = new EDC_HL7RepFldCE(elem.getElementAt("PlannedPatientTransportComment"));
		ProcedureCode = new EDC_HL7FldCE(elem.getElementAt("ProcedureCode"));
		ProcedureCodeModifier = new EDC_HL7RepFldCE(elem.getElementAt("ProcedureCodeModifier"));
	}

}
